<%--
  Created by IntelliJ IDEA.
  User: risen-ky
  Date: 2020-12-09
  Time: 15:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
<%-- jsp表达式--%>
  <%= new java.util.Date()%>
<hr>
  <%
    int sum = 0 ;
    for (int i = 1; i <100 ; i++) {
      sum+=i;
    }
    out.println("<h1>Sum="+sum+"</h1>");
  %>


  </body>
</html>
